package com.zb.validation.demo.service;

import com.zb.validation.demo.model.Person;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;

/**
 *
 *
 * @author Zhang Bo 01084074
 * @version 1.0
 * @since 1.0
 */
@Validated
public interface DemoService {

    void save(@Valid Person person);
}
